<template lang=pug>
    li.rent
        section
            div.lineTwo
                div.title(v-text="'标题:'+simpleRent.ej_good_title")
                div.time(v-text="'发布时间:'+simpleRent.ej_good_publish_time")
            div.lineTwo
                img(:src="simpleRent.ej_good_picture_url",width="100",height=100)
                div
                    div(v-text="'描述内容:'+simpleRent.ej_good_desc")
                    div.number(v-text="'数量:'+simpleRent.ej_good_number")
                    div.price(v-text="'价格:'+simpleRent.ej_good_rent_price+'/'+simpleRent.ej_good_rent_unit+'/'+simpleRent.ej_good_rent_time+simpleRent.ej_good_rent_time_unit")
            div.lineTwo
                div(v-text="'租借人:'+simpleRent.ej_good_rent_time")
                div(v-text="'状态:'+simpleRent.ej_order_state_name")
            div.bottom
                router-link(:to="'./rentDetail?id='+simpleRent.ej_good_id") 操作
</template>

<script>
    export default {
        name: 'simpleRent',
        data () {
            return {}
        },
        props:['simpleRent'],
        components: {}
    }
</script>

<style lang="stylus" scoped>
    .rent
        width 100%
        .lineTwo
            display flex
            & div.group
                display flex
                &>div
                    text-align center
</style>
